package cn.disignPattern.com.partFour.store;

import cn.disignPattern.com.partFour.SimplePizzaFactory;
import cn.disignPattern.com.partFour.pizza.NYStyleCheesePizza;
import cn.disignPattern.com.partFour.pizza.Pizza;

/**
 * TODO
 *
 * @author ：ljf
 * @date ：Created in 2021/8/16 18:05
 */
public class ChicagoPizzaStore extends PizzaStore {
    public ChicagoPizzaStore(SimplePizzaFactory factory) {
        super(factory);
    }

    @Override
    Pizza createPizza(String type) {
        return factory.createPizza(type);
    }
}
